package com.beemans.corekit.data;

import androidx.annotation.NonNull;

import java.io.Serializable;

public class RemotePushEntity implements Serializable {
    public int pushId = 0;          // 推送 id，用于上报服务端
    public String pushDate = "";    // 推送日期，用于上报服务端
    public String title = "";       // 通知栏标题
    public String body = "";        // 通知栏内容
    public String imgUrl = "";      // 通知栏 icon
    public String btnText = "";     // 通知栏按钮文本
    public int btnType = 0;         // 通知栏样式（0-3）
    public String btnLink = "";     // 通知栏跳转链接（根据后台定义进行匹配）
    public String country = "";     // 系统语言国家，用于上报服务端
    public String locale = "";      // 系统本地化，用于上报服务端

    @NonNull
    @Override
    public String toString() {
        return "RemotePushEntity{" +
                "pushId=" + pushId +
                ", pushDate='" + pushDate + '\'' +
                ", title='" + title + '\'' +
                ", body='" + body + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", btnText='" + btnText + '\'' +
                ", btnType=" + btnType +
                ", btnLink='" + btnLink + '\'' +
                ", country='" + country + '\'' +
                ", locale='" + locale + '\'' +
                '}';
    }
}